const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  css: {
    loaderOptions: {
      // 给 sass-loader 传递选项
      // 注意：在 sass-loader v8 中，这个选项名是 "prependData"
      scss: {
        additionalData: `
        @import "@/styles/tools/_sassMagic.scss";
        @import "@/styles/settings/var.scss";
        `,
      },
    },
  },
})
